<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://www.opensymphony.com/sitemesh/decorator"
	prefix="decorator"%>
<%@ taglib uri="http://www.opensymphony.com/sitemesh/page" prefix="page"%>
<%@ include file="../jsp/common.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta http-equiv="x-ua-compatible" content="ie=7" />
		<meta name="language" content="en" />
		<title><decorator:title default="鑫远航国际货运系统"></decorator:title></title>
		<link rel="stylesheet" href="${ctx}/static/css/module.css" type="text/css" />
		<link rel="stylesheet" type="text/css" href="${ctx}/static/css/tip-yellow.css" />
		<link rel="stylesheet" type="text/css" href="${ctx}/static/css/jquery-ui-1.8.16.custom.css" />
		<script src="${ctx}/static/js/jquery/jquery.min.js"></script>
		<script src="${ctx}/static/js/jquery/jquery-ui-1.8.16.custom.min.js"></script>
		<script src="${ctx}/static/js/jquery/jquery.ui.datepicker-zh-CN.js"></script>
		<script src="${ctx}/static/js/jquery/jquery.form.js"></script>
		<script src="${ctx}/static/js/jquery/jquery.validate.js"></script>
		<script src="${ctx}/static/js/common.js"></script>
		<script src="${ctx}/static/js/combobox.js"></script>
		<script type="text/javascript">
		$(document).ready(function(){
			var menu = $("ul.submenu > li[code=" + menu_flag + "]");
			if(menu){
				menu.addClass("onlink");
			}

			/**初始化combobx*/
			//$( "select" ).combobox();
		});
		</script>
		<decorator:head></decorator:head>
	</head>

	<body>
	<!--top-->
	
	<div class="header" id="header">
	<div id="header_relative">
	<div style="padding:5px"><h1>深圳市鑫远航国际货运代理有限公司</h1></div>
	<div class="msglogin">您好: <font color="#A789">[${loginUser.name }]</font>
	今天<fmt:formatDate value="<%=new java.util.Date() %>" pattern="yyyy年MM月dd日  E" />&nbsp;&nbsp;&nbsp; 
	[<a href="${ctx }/user/logout">退出</a>] 
	</div>
	<div class="serviceset"></div>
	
	</div>
	</div>
	<!--/top-->
	
	<!--left-->
	<div class="leftbox" id="leftbox">
	
		<c:forEach var="menuType" items="${sessionScope.menuTypes}">
       		<c:if test="${menuType.displayable}">
       			<h3 class="f14"><i></i>${menuType.name }</h3>
				<ul id="leftbox-submenu" class="submenu">
        		<c:forEach var="menu" items="${menuType.menuvos}">
					<c:if test="${menu.checked }">
						<li code="${menu.code }"><a href="${ctx }/${menu.uri }">${menu.name}</a></li>
					</c:if>
				</c:forEach>
				</ul>
  			</c:if>
        </c:forEach>
	
	</div>
	<!--/left-->
	
	<!--right-->
	<div class="rightbox" id="rightbox">
		<div class="maincontent">
			<decorator:body/>
		</div>
		</div>
	<!--/right-->
	</body>
	
</html>

